package com.dd.stack.mybatisplus.pojo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/2/25 0:37
 * @Description 订单查询请求类
 */
@Data
@ApiModel("订单查询请求类")
public class OrderQueryReq {
    /************* 检索条件 *************/
    @ApiModelProperty("订单ID")
    private Long orderId;
    @ApiModelProperty("订单编号")
    private String orderNumber;
    @ApiModelProperty("订单状态")
    private Integer status;
    @ApiModelProperty("用户名（模糊查询）")
    private String username;
    @ApiModelProperty("开始日期")
    private LocalDateTime startDate;
    @ApiModelProperty("结束日期")
    private LocalDateTime endDate;

    /************* 分页参数 *************/
    @ApiModelProperty("当前页码 默认为1")
    private Integer current = 1;
    @ApiModelProperty("每页大小 默认为10")
    private Integer size = 10;
}
